home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / WINWORDS / APFF111.ZIP / ADDFINDR.SMM next >
INI File  |  1994-02-06  |  5KB  |  453 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     
  5. [files]
  6. [charset]
  7.     82
  8.     ANSI (Windows, IBM CP 1252)
  9. [revisions]
  10.     0
  11. [prn]
  12.     HP LaserJet IIP
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [desc]
  18.     Routines for loading AmiFind and for adding AmiFind to Ami Pro's File menu.
  19.     AmiFind v1.11
  20.     
  21.     
  22.     
  23.     758150355
  24.     3
  25.     739910645
  26.     25
  27.     1
  28.     0
  29.     0
  30.     0
  31.     0
  32.     
  33.     
  34.     
  35.     
  36.     
  37.     
  38.     1
  39. [fopts]
  40.     0
  41.     1
  42.     0
  43.     0
  44. [lnopts]
  45.     2
  46.     Body Text
  47.     1
  48. [docopts]
  49.     5
  50.     2
  51. [GramStyle]
  52.     
  53. [tag]
  54.     Body Text
  55.     2
  56.     [fnt]
  57.         Arial
  58.         240
  59.         0
  60.         16384
  61.     [algn]
  62.         1
  63.         1
  64.         216
  65.         0
  66.         0
  67.     [spc]
  68.         33
  69.         273
  70.         1
  71.         0
  72.         0
  73.         1
  74.         100
  75.     [brk]
  76.         4
  77.     [line]
  78.         8
  79.         0
  80.         1
  81.         0
  82.         1
  83.         1
  84.         1
  85.         10
  86.         10
  87.         1
  88.     [spec]
  89.         0
  90.         0
  91.         
  92.         0
  93.         1
  94.         1
  95.         0
  96.         16
  97.         0
  98.         0
  99.     [nfmt]
  100.         272
  101.         1
  102.         3
  103.         .
  104.         ,
  105.         $
  106.     Body Text
  107.     0
  108.     0
  109. [tag]
  110.     Body Single
  111.     3
  112.     [fnt]
  113.         Times New Roman
  114.         240
  115.         0
  116.         49152
  117.     [algn]
  118.         1
  119.         1
  120.         0
  121.         0
  122.         0
  123.     [spc]
  124.         33
  125.         273
  126.         1
  127.         0
  128.         0
  129.         1
  130.         100
  131.     [brk]
  132.         4
  133.     [line]
  134.         8
  135.         0
  136.         1
  137.         0
  138.         1
  139.         1
  140.         1
  141.         10
  142.         10
  143.         1
  144.     [spec]
  145.         0
  146.         0
  147.         
  148.         0
  149.         1
  150.         1
  151.         0
  152.         0
  153.         0
  154.         0
  155.     [nfmt]
  156.         280
  157.         1
  158.         2
  159.         .
  160.         ,
  161.         $
  162.     Body Single
  163.     0
  164.     0
  165. [tag]
  166.     Function
  167.     4
  168.     [fnt]
  169.         Arial
  170.         240
  171.         0
  172.         16385
  173.     [algn]
  174.         1
  175.         1
  176.         0
  177.         0
  178.         0
  179.     [spc]
  180.         33
  181.         244
  182.         1
  183.         0
  184.         0
  185.         1
  186.         100
  187.     [brk]
  188.         68
  189.     [line]
  190.         8
  191.         0
  192.         1
  193.         0
  194.         1
  195.         1
  196.         1
  197.         10
  198.         10
  199.         1
  200.     [spec]
  201.         0
  202.         1
  203.         
  204.         0
  205.         1
  206.         1
  207.         0
  208.         0
  209.         0
  210.         0
  211.     [nfmt]
  212.         272
  213.         1
  214.         3
  215.         .
  216.         ,
  217.         $
  218.     Body Text
  219.     0
  220.     0
  221. [lay]
  222.     Standard
  223.     513
  224.     [rght]
  225.         15840
  226.         12240
  227.         1
  228.         1440
  229.         1440
  230.         1
  231.         1440
  232.         1440
  233.         0
  234.         1
  235.         0
  236.         1
  237.         0
  238.         2
  239.         1
  240.         1440
  241.         10800
  242.         12
  243.         1
  244.         720
  245.         1
  246.         1440
  247.         1
  248.         2160
  249.         1
  250.         2880
  251.         1
  252.         3600
  253.         1
  254.         4320
  255.         1
  256.         5040
  257.         1
  258.         5760
  259.         1
  260.         6480
  261.         1
  262.         7200
  263.         1
  264.         7920
  265.         1
  266.         8640
  267.     [hrght]
  268.     [lyfrm]
  269.         1
  270.         11200
  271.         0
  272.         0
  273.         12240
  274.         1440
  275.         0
  276.         1
  277.         3
  278.         1 0 0 0 0 0 0
  279.         0
  280.         0
  281.         1
  282.     [frmlay]
  283.         1440
  284.         12240
  285.         1
  286.         1440
  287.         72
  288.         1
  289.         792
  290.         1440
  291.         0
  292.         1
  293.         0
  294.         1
  295.         1
  296.         0
  297.         1
  298.         1440
  299.         10800
  300.         1
  301.         3
  302.         9360
  303.     [txt]
  304. >
  305.     [frght]
  306.     [lyfrm]
  307.         1
  308.         13248
  309.         0
  310.         14400
  311.         12240
  312.         15840
  313.         0
  314.         1
  315.         3
  316.         1 0 0 0 0 0 0
  317.         0
  318.         0
  319.         2
  320.     [frmlay]
  321.         15840
  322.         12240
  323.         1
  324.         1440
  325.         792
  326.         1
  327.         14472
  328.         1440
  329.         0
  330.         1
  331.         0
  332.         1
  333.         1
  334.         0
  335.         1
  336.         1440
  337.         10800
  338.         2
  339.         2
  340.         4680
  341.         3
  342.         9360
  343.     [txt]
  344. >
  345. [elay]
  346. [l1]
  347.     0
  348. [pg]
  349.     1
  350.     27 0 0 1025 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  351. [edoc]
  352. <:f,2Times New Roman,>The following macro adds the LoadFinder macro (below) to the File menu.  It then calls your original Program Load macro, if you had one when AmiFind Installer was run.  (This method is used if you only had one Program Load macro when A
  353. miFind Installer was run.)
  354.  
  355. <:#284,9360>
  356.  
  357. Function AddFinderChain ()
  358.  
  359. Call AddFinder()
  360.  
  361. <:#284,9360>ThisFile=GetRunningMacroFile$()
  362.  
  363. <:#568,9360>InsertMenuItem (1, "&File", 11, "A&miFind...", "{ThisFile}!LoadFinder()", "Load AmiFind- find lost files by filename, description, keywords, date, or contents")
  364.  
  365. <:#284,9360>OldAutoExec=GetProfileString$ ("AmiFind", "Old Program Load Macro")
  366.  
  367. <:#284,9360>IF OldAutoExec<<<;>"" then 
  368.  
  369. <:#284,9360>  CALLI OldAutoExec ()
  370.  
  371. <:#284,9360>ENDIF
  372.  
  373. <:#284,9360>End Function
  374.  
  375. <:#284,9360>
  376.  
  377. <:f,2Times New Roman,><:f,2Times New Roman,>The following macro adds the LoadFinder macro (below) to the File menu.
  378.  
  379. <:f,2Times New Roman,><:f><:f,2Times New Roman,>(This method is used if you had more than one Program Load macro when AmiFind Installer was run., using _AUTORUN.SMM.)   
  380. <:f><:f,2Times New Roman,>AmiFind Installer added ADDFINDR.SMM!AddFinder<:f><:f,2Times New Roman,> to your AMIAUTO.CFG file.<:f>
  381.  
  382. <:f,2Times New Roman,>
  383.  
  384. <:f,BArial,>Fun<:f>ction AddFinder ()
  385.  
  386. ThisFile=GetRunningMacroFile$()
  387.  
  388. <:I216,0,504,0>InsertMenuItem (1, "&File", 11, "A&miFind...", "{ThisFile}!LoadFinder()", "Load AmiFind- find lost files by filename, description, keywords, date, or contents")
  389.  
  390. End Function
  391.  
  392. <:f,2Times New Roman,>
  393.  
  394. <:f,2Times New Roman,>The following macro runs AmiFind.<:f>
  395.  
  396. <:#284,9360>
  397.  
  398. <:#284,9360>Function LoadFinder ()
  399.  
  400. <:#284,9360>AmiFindPath=GetProfileString$ ("AmiFind", "AmiFindPath")
  401.  
  402. <:#284,9360>trash=Exec (AmiFindPath, "")
  403.  
  404. <:#284,9360>End Function
  405.  
  406.  
  407. >
  408.  
  409. [Embedded]
  410. 00004234
  411. >
  412. [macsum] 3
  413. AddFinderChain 0 0 3 2
  414. AddFinder 291 0 2 15
  415. LoadFinder 472 0 3 22
  416. [macse]
  417. 14 AddFinderChain
  418. 16 AddFinder
  419. 0 802
  420. 13
  421. 8 1
  422. 0 527 1 "&File" 11 "A&miFind..." "{1}!LoadFinder()" "Load AmiFind- find lost files by filename, description, keywords, date, or contents"
  423. 0 286 "AmiFind" "Old Program Load Macro"
  424. 13
  425. 8 2
  426. 6 2
  427. 7 ""
  428. 18 1
  429. 11 00000279
  430. 16 "{2}"
  431. 6 0
  432. 15
  433. 9
  434. 14 AddFinder
  435. 0 802
  436. 13
  437. 8 1
  438. 0 527 1 "&File" 11 "A&miFind..." "{1}!LoadFinder()" "Load AmiFind- find lost files by filename, description, keywords, date, or contents"
  439. 6 0
  440. 15
  441. 9
  442. 14 LoadFinder
  443. 0 286 "AmiFind" "AmiFindPath"
  444. 13
  445. 8 1
  446. 0 22 "{1}" ""
  447. 13
  448. 8 2
  449. 6 0
  450. 15
  451. 9
  452. 00004259
  453.